<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{$site_info.site_seo_title|default=''}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}"/>
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" href="/static/fly/css/global.css">
</head>
<body>
{include file='common/header' /}
    {include file='common/nav' /}
    <div class="layui-container">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md8">
                <div class="fly-panel" style="margin-bottom: 0;">
                    {include file='common/filter' /}
                    <ul class="fly-list">
                        {foreach $list as $vo}
                        <li>
                            <a href="/user/{$vo.user_id}" class="fly-avatar">
                                <img src="{$vo.user.avatar}" alt="">
                            </a>
                            <h2>
                                <a class="layui-badge">{$vo.category.name}</a>
                                <a href="/forum/{$vo.id}">{$vo.title}</a>
                            </h2>
                            <div class="fly-list-info">
                                <a href="/user/{$vo.user_id}">
                                    <cite>{$vo.user.username}</cite>
                                    <!--
                                    <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>
                                    <i class="layui-badge fly-badge-vip">VIP3</i>
                                    -->
                                </a>
                                <span>{$vo.update_time}</span>
                                {if $vo.score}
                                <span class="fly-list-kiss layui-hide-xs" title="悬赏积分">
                                    <i class="iconfont icon-kiss"></i> {$vo.score}
                                </span>
                                {/if}
                                {if $vo.accept}
                                <span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>
                                {/if}
                                <span class="fly-list-nums">
                                <i class="iconfont icon-pinglun1" title="回答"></i> {$vo.comment}
                            </span>
                            </div>
                            <div class="fly-list-badge">
                                {if $vo.stick}<span class="layui-badge layui-bg-black">置顶</span>{/if}
                                {if $vo.digest}<span class="layui-badge layui-bg-red">精帖</span>{/if}
                            </div>
                        </li>
                        {/foreach}
                    </ul>
                    <div style="text-align: center">
                        {$page|raw}
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                {include file='common/right' /}
            </div>
        </div>
    </div>
{include file='common/footer' /}
</body>
</html>
